import React from 'react';
import ReactDOM from 'react-dom';
import {
  BrowserRouter as Router,
  Route,
  Link,
} from 'react-router-dom';
import { hot } from 'react-hot-loader';
import APP from './router.jsx';

var _ = require('lodash');

console.log(_.shuffle([1,2,3,4,5,6,7,8,9,0]))

const Hello = require('./hello.js').default
require('../css/style.css')

// let APP = () => (
//         <Router>
//             <div>
//                 <h1><Link to="/hello">helddddddddlo</Link></h1>
//                 <h1><Link to='/'>home</Link></h1>
//                 <Route path="/hello" component={Hello}/>
//             </div>
//         </Router>
//     )
// APP = hot(module)(APP)
ReactDOM.render(
    <APP />,
    document.getElementById('root')
);